<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Paviliun Hotel Management System</title>
<link rel="stylesheet" href="<?=base_url()?>asset/css/backend/screen.css" type="text/css" media="screen" title="default" />
<!-- topmessagebar -->
        <link rel="stylesheet" href="<?=base_url()?>asset/css/backend/MyTopMessageBar.css" type="text/css"/>

<!--  jquery core -->
<script src="<?=base_url()?>asset/js/backend/jquery/jquery-1.4.1.min.js" type="text/javascript"></script>

<!-- Custom jquery scripts -->
<script src="<?=base_url()?>asset/js/backend/jquery/custom_jquery.js" type="text/javascript"></script>

<!-- tab notification-->
<script language="javascript" src="<?=base_url()?>asset/js/backend/jquery/jquery.MyTopMessageBar.js"></script>

<!-- MUST BE THE LAST SCRIPT IN <HEAD></HEAD></HEAD> png fix -->
<script src="<?=base_url()?>asset/js/backend/jquery/jquery.pngFix.pack.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$(document).pngFix( );
});
</script>

<!-- function for top bar notification -->
<script>
function message_alert(varMessage, varCss){
    
if(varCss=="")
    varCss = "MessageBarOk";
$().MyTopMessageBar({message:varMessage, cssClass:varCss, bFading:true});
}



</script>

</head>
<body id="login-bg"> 
     <!-- jscontent -->
    <?php
    if(isset($jsContent))
    echo $jsContent;
    ?>
    <!-- end jscontent -->
    
<!-- Start: login-holder -->
<div id="login-holder">

	<!-- start logo -->
	<div id="logo-login">
		
		<!-- <div align="center"><a href="index.html"><img src="<?=base_url()?>asset/images/logo.png" alt="" style="margin-top:-110px; margin-left:45px;" /></a> </div> -->
	<h1 style="color:white;">Paviliun Hotel Management System</h1>
	</div>
<!-- end logo -->
	
	<div class="clear"></div>
	
	<!--  start loginbox ................................................................................. -->
	<div id="loginbox">
	
	<!--  start login-inner -->
	<div id="login-inner">
		<?php
			if($this->session->flashdata('action_msg'))
					{
						$action_msg=$this->session->flashdata('action_msg');
						echo '<script>message_alert("'.$action_msg.'","MessageBarWarning")</script>';
					}
				else
					{
						
					}
					?>
		
		<!--<tr>
			<th>Username</th>
			<td><input type="text"  class="login-inp" /></td>
		</tr>
		<tr>
			<th>Password</th>
			<td><input type="password" value="************"  onfocus="this.value=''" class="login-inp" /></td>
		</tr>
		<tr>
			<th></th>
			<td valign="top"><input type="checkbox" class="checkbox-size" id="login-check" /><label for="login-check">Remember me</label></td>
		</tr>
		<tr>
			<th></th>
			<td><input type="button" class="submit-login"  /></td>
		</tr>-->
		<?=form_open('admin_login/do_login');?>
		<table width="515" border="0" cellpadding="0" cellspacing="0">
			
<tr>
		
			<th>Username :</th>
			<td><?php
			$data = array(
              'name'        => 'username',
              'id'          => 'username',
              'maxlength'   => '100',
              'size'        => '50',
              'style'       => 'width:50%',
            );

		echo form_input($data);
			
			?></td>
		</tr>
		<tr>
			<th>Password :</th>
			<td><?php
			$data = array(
              'name'        => 'password',
              'id'          => 'password',
              'maxlength'   => '100',
              'size'        => '50',
              'style'       => 'width:50%',
              'type'        => 'password'
            );

		echo form_input($data);
			
			?></td>
		</tr>
		<tr>
			<th></th>
			<td valign="top"><input type="checkbox" class="checkbox-size" id="login-check" /><label for="login-check">Remember me</label></td>
		</tr>
		<tr>
			<th></th>
			<td><input type="submit" class="submit-login"  /></td>
		</tr>
	
		</table>
	  <?=form_close();?>
	</div>
 	<!--  end login-inner -->
	<div class="clear"></div>
	<a href="" class="forgot-pwd">Forgot Password?</a>
 </div>
 <!--  end loginbox -->
 
	<!--  start forgotbox ................................................................................... -->
	<div id="forgotbox">
		<div id="forgotbox-text">Please send us your email and we'll reset your password.</div>
		<!--  start forgot-inner -->
		<div id="forgot-inner">
		<table border="0" cellpadding="0" cellspacing="0">
		<tr>
			<th>Email address:</th>
			<td><input type="text" value=""   class="login-inp" /></td>
		</tr>
		<tr>
			<th> </th>
			<td><input type="button" class="submit-login"  /></td>
		</tr>
		</table>
		</div>
		<!--  end forgot-inner -->
		<div class="clear"></div>
		<a href="" class="back-login">Back to login</a>
	</div>
	<!--  end forgotbox -->

</div>
<!-- End: login-holder -->
</body>
</html>